{% extends "layouts/base.html" %} {% block title %} {{ tb.Intitule }}{% endblock %} {% block content%}

{{ tb.Intitule }}

{{ tb.Objectif }}

{% for indicateur in object_list %} {% if indicateur.validation_directeur and indicateur.validation_chef_dep %} {% if PDGGroup in user.groups.all or ChefDeptGroup in user.groups.all and indicateur.user.departements == request.user.departements or DirecteurGroup in user.groups.all and indicateur.user.directions == request.user.directions or indicateur.user.id == request.user.id %}

{{indicateur.Intitule_Indicateur}} {% if IngenieurGroup in user.groups.all or AdminGroup in user.groups.all %} {% if indicateur.type_donnees == "Filiale" %} Ajouter Donnée {% elif indicateur.type_donnees == "Application" %} Ajouter Donnée {% elif indicateur.type_donnees == "Mesure" %} Ajouter Donnée {% else %} Ajouter Donnée {% endif %} {% endif %}

{% if indicateur.Periodicite == "Mensuelle" %} Le mois dernier {% else %} L'année dérniere {% endif %}

>

Interpretations

{% if DirecteurGroup not in user.groups.all and ChefDeptGroup not in user.groups.all and PDGGroup not in user.groups.all%} {% endif %}
{% for interpretation in ListeInter %} {% if interpretation.Id_Indicateur.id == indicateur.id and interpretation.validation_chef_dep and interpretation.validation_directeur%} {% if indicateur.Periodicite == "Mensuelle" and interpretation.Date.month == currentMonth or indicateur.Periodicite == "Annuelle" and interpretation.Date.year == currentYear%} {% endif %} {% endif %} {% endfor %}
Date Contenu
Interpretation N°{{ interpretation.id }} {{ interpretation.Date }} {{ interpretation.Contenu }}
{% endif %} {% endif %} {% endfor %}
{% if AdminGroup in user.groups.all %} Modifier Tableau de Bord Supprimer Tableau de Bord {% endif %} {% if PDGGroup in user.groups.all %} Valider Rapport {% elif IngenieurGroup not in user.groups.all %} {% if tb.validation_rapport %}
{% else %} Rapport non validé {% endif %} {% endif %}
{% endblock %}